<?php
$collect = array();
include 'php_scripts/functions.php';
?>
<!DOCTYPE html>
<html>
    <head>
        <title>Коллекция пивных пробок</title>
        <meta charset="utf-8">
        <link rel="stylesheet" type="text/css" href="styles/index_style.css" />
        <script src="../ajax/getXmlHttp.js" type="text/javascript" charset="UTF-8"></script>
        <script type="text/javascript" src="include/modernizr.custom.04022.js" charset="UTF-8"></script>
        <script type="text/javascript" src="scripts/index_js.js" charset="UTF-8"></script>
        <script>
            document.createElement('article');
            document.createElement('section');
            document.createElement('aside');
            document.createElement('hgroup');
            document.createElement('nav');
            document.createElement('header');
            document.createElement('footer');
            document.createElement('figure');
            document.createElement('figcaption');
        </script>
    </head>

    <body>
        <div id="outer_wrapper">
            <header>
                <nav id="main_links">
                    <ul>
                        <li>
                            <a href="index.php" title="Перейти на главную страницу">Главная</a>
                        </li>

                        <li>
                            <a href="exchange.php" title="Пробки на обмен">Обмен</a>
                        </li>
                    </ul>
                </nav>

                <section id="title">
                    <section id="outer_header">
                        <h1>Коллекция пивных пробок</h1>
                    </section>
                </section>
            </header>

            <aside id='aside'>
                <section id="tabs">
                    <button id="tab1" class="btnOn" value="Страны" onClick="sideBtnClick(id)">Страны</button>
                    <button id="tab2" class="btnOff" value="Бренды" onClick="sideBtnClick(id)">Бренды</button>
                </section>

                <section id="linkList">
                    <script>GetLinkList()</script>
                </section>
            </aside>

            <section id="main_content">
                <?php
                GetTable('I');
                ?>
            </section>

            <footer>
                <h4 id="copyright">Footer! Copyright and attribution</h4>
            </footer>
        </div>
    </body>
</html>